<%= render partial: "wa_resources/edit", locals:  { :wa_resource => resource }, :formats => [:html]  %>